package com.hsqn.service.impl;

import com.hsqn.entity.ConsumptionRecord;
import com.hsqn.mapper.ConsumptionRecordMapper;
import com.hsqn.service.ConsumptionRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ConsumptionRecordServiceImpl implements ConsumptionRecordService {
    @Autowired
    private ConsumptionRecordMapper consumptionRecordMapper;
    @Override
    public void insertConsumptionRecord(ConsumptionRecord consumptionRecord) {
        consumptionRecordMapper.insertConsumptionRecord(consumptionRecord);
    }
}
